package com.tanhua.dubbo.server.api;

import com.tanhua.dubbo.server.pojo.Video;
import com.tanhua.dubbo.server.vo.PageInfo;

/**
 * * @title: VideoApi
 *
 * @Author Philcan
 * @Date: 2021/8/14 16:08
 * @Version 1.0
 */
public interface VideoApi {
    String saveVideo(Video video);

    PageInfo<Video> queryVideoList(Long userId, Integer page, Integer pageSize);

    Video queryVideoById(String videoId);

    Boolean followUser(Long userId, Long followUserId);

    Boolean disFollowUser(Long userId, Long followUserId);

    Boolean isFollowUser(Long userId, Long followUerId);
}
